package com.cjj.springsecurity.controller;

import com.cjj.common.entity.Res;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author by BrownC_
 * @date 2021/12/21 16:15:47
 * @email ccc-ju@outlook.com
 */
@Api(tags = "[v1.0]权鉴服务", value = "[v1.0]权鉴服务")
@RestController
@RequestMapping("/api/auth")
public class AuthController {

    @ApiOperation(tags = "[v1.0]权鉴服务", value = "登录")
    @GetMapping("/login")
    public Res<String> login(){
        return Res.success("login");
    }

}
